home *** CD-ROM | disk | FTP | other *** search
-
-
-
- function AutomatedPageLoad()
- {
- var a = new ActionButton();
- a.Type = ACTION_BUTTON_CUSTOM;
- a.ID = "a1";
- a.Text = btLOC_Configure;
- a.FloatClass = "floatR";
- a.Event = "external.DoOnEmailReportConfigureClick();";
- Get('spEmailReportConfigure').innerHTML = a.Render();
- }
-
-
-
- // Call it when page load
- AddLoadEvent(AutomatedPageLoad);
-
- //*************** Automated taskx ***************************//
-
- function SetEmailReportDetails(DetailText)
- {
- Get("divEmailReportingDetails").innerHTML = URLDecode(DetailText);
- }
-
- function AddAutomaticTask(TaskID, HeadingText, DetailText, Enabled)
- {
- var t = new AutomaticTaskTable();
-
- var a = new AutomaticTask(TaskID);
- a.Heading = HeadingText;
- a.Detail = DetailText;
- a.Enabled = Enabled;
-
- t.Add(a);
- if( Get( t.tbl._ClientID() ) == null )
- Get("divAutomaticTaskTable").innerHTML += t.tbl.Render();
- }
-
- function SetAutomaticTaskEnabled(TaskID,Enabled)
- {
- var a = new AutomaticTask(TaskID);
- a.Enable(Enabled);
- }
-
- function SetActiveCareEmailReportTipVisible(Value)
- {
- SetDisplayWidget('tblActiveCateTip', Value);
- }
-
-
- //*************** End Automated taskx ***************************//
-
- //***********************************Set Language*************************//
- function SetLanguage (language)
- {
- Get("spLOC_EmailReporting").innerHTML = spLOC_EmailReporting;
- Get("spLOC_ActiveCareEmailReportsTip").innerHTML=spLOC_ActiveCareEmailReportsTip;
- Get("spLOC_TasksPerformedAutomatically").innerHTML = spLOC_TasksPerformedAutomatically;
- Get("spLOC_TasksPerformedAutomatically_Opening").innerHTML=spLOC_TasksPerformedAutomatically_Opening;
- }
-
-